/*Get blog data from csdn
*auther: Antony Zhao
*date: 2020.03.30
*/

$(document).ready(function(){
	var src = "https://blog.csdn.net/weixin_41475710";
	var blog_div = document.createElement("div");
	blog_div.className = "div-blog";
	blog_div.setAttribute("style", "display: none");
	document.body.append(blog_div);
	$(".div-blog").load(src);
	console.log($(".div-blog").html());
});

function get_blog_list(iframe){
	blog_list = iframe.document.getElementsByClassName("content");
	console.log(blog_list.length);
}